package com.youkeyi.ddy.cloud.common.api.basic.hr.employee.education;

import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.education.dto.HrEmployeeEducationHistoryListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.education.param.HrEmployeeEducationHistoryCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.education.param.HrEmployeeEducationHistoryDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.education.param.HrEmployeeEducationHistoryQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.education.param.HrEmployeeEducationHistoryUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * HrEmployeeEducationHistoryCloudServiceFallback
 *
 * @author  liuxiawang
 * @Date 2024/2/19 2:32 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/hr/employee/education/history/fallback")
public class HrEmployeeEducationHistoryCloudServiceFallback implements HrEmployeeEducationHistoryCloudService {

    @Override
    public HrEmployeeEducationHistoryListCloudDto query(HrEmployeeEducationHistoryQueryCloudParam param) {
        return new HrEmployeeEducationHistoryListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(HrEmployeeEducationHistoryCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(HrEmployeeEducationHistoryUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(HrEmployeeEducationHistoryDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
